package mypkg

type IExample interface {
	Multiply(a float64) float64
}

type A struct {
	AField float32
}

type B struct {
	BField int32
}

func (_a *A) Multiply(a float64) float64 {
	return a * float64(_a.AField)
}

func (_b *B) Multiply(b float64) float64 {
	return b * float64(_b.BField)
}

func ExampleUsage(ie IExample, arg float64) float64 {
	return ie.Multiply(arg)
}
